package org.september.pisces.imagesearch.vo;

public class ImageSearchResult implements Comparable<ImageSearchResult>{

	private float score;
	
	private String fileId;

	public float getScore() {
		return score;
	}

	public void setScore(float score) {
		this.score = score;
	}

	public String getFileId() {
		return fileId;
	}

	public void setFileId(String fileId) {
		this.fileId = fileId;
	}

	@Override
	public int compareTo(ImageSearchResult o) {
		return (score > o.getScore()) ? -1 : 1;
	}
	
	
}
